Fix emacsclient/server behavior under --without-x.
authorChong Yidong <cyd@gnu.org>
Fri, 20 Apr 2012 10:37:57 +0000 (18:37 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 20 Apr 2012 10:37:57 +0000 (18:37 +0800)
commita772322f4c16038751bc9fb565a59c4faaaed8b3
tree1e1e02ba17bea2dc075f63e75b6f63b60e44da89
parent6c5c93417c11eb646984971c520d38a187cd6c78
Fix emacsclient/server behavior under --without-x.

* lib-src/emacsclient.c (main): Send -tty to Emacs under more circumstanced (Bug#8314).

* lisp/server.el (server-process-filter): Only try to open a window
system frame if compiled with graphical support (Bug#8314).
lib-src/ChangeLog
lib-src/emacsclient.c
lisp/ChangeLog
lisp/server.el